#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QObject>
#include <QDebug>
#include <QThread>
#include "zlgcan.h"

#include "GY_8507_Func.h"
#include "log_Gen.h"



class Mythread : public QObject
{
    Q_OBJECT
public:
    explicit Mythread(QObject *parent = nullptr);

    void  on_Rev(DEVICE_HANDLE Channel);

    VCI_CAN_OBJ           candatabuf[300];
    int32_t  GY8507CAN_GetReceive(ZCAN_Receive_Data *can_data);


signals:
    void CAN_DAT(ZCAN_Receive_Data *CANData,int num);

};

#endif // MYTHREAD_H
